<svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1">
  <defs>
    <filter id="non-integer-tile">
      <feColorMatrix x="0" y="0" width="40" height="40"/>
      <feTile x="0" y="0" width="150" height="90"/>
    </filter>
    <filter id="shrink-tile">
      <feColorMatrix x="0" y="0" width="160" height="90"/>
      <feTile x="0" y="0" width="30" height="30"/>
    </filter>
    <filter id="zero-src-tile">
      <feColorMatrix x="0" y="0" width="0" height="0"/>
      <feTile x="0" y="0" width="40" height="40"/>
    </filter>
    <filter id="zero-dst-tile">
      <feColorMatrix x="0" y="0" width="160" height="90"/>
      <feTile x="0" y="0" width="0" height="0"/>
    </filter>
  </defs>
</svg>
<style>
img {
    margin: 10px;
}
</style>
<img style="filter: url(#non-integer-tile);" src="resources/reference.png">
<img style="filter: url(#shrink-tile);" src="resources/reference.png">
<img style="filter: url(#zero-src-tile);" src="resources/reference.png">
<img style="filter: url(#zero-dst-tile);" src="resources/reference.png">
